

package de.carcophan.jimdb.jsf.backing;

import de.carcophan.jimdb.ejb.entites.Status;
import javax.enterprise.event.Observes;
import javax.inject.Inject;
import javax.naming.NamingException;


public class StatusBackingBeanUpdateController {

    @Inject
    StatusBackingBean statusBackingBean;

    /**
     * is called when Event<Status> is fired
     * @param status
     * @throws Throwable
     */
    private void statusChanged(@Observes Status status) throws NamingException{
        statusBackingBean.initStatuses();
    }

}
